

public class Student {
	
	private String MSTS;
	private String name;
	private String dateOfBirth;
	private Exam myExam;
	private Course joinedCourse;
	private String username;
	private String password;
	
	public Student(Course parent, String MSTS, String name, String dateOfBirth, 
			String username, String pass) {
		this.joinedCourse = parent;
		this.MSTS = MSTS;
		this.name = name;
		this.dateOfBirth = dateOfBirth;
		this.username = username;
		this.password = pass;
		this.myExam = null;
	}
	
	void setExam(Exam exam){
		this.myExam = exam;
	}
	
	public String getMSTS(){
		return this.MSTS;
	}
	
	public String getName(){
		return this.name;
	}
	
	public String getDateOfBirth(){
		return this.dateOfBirth;
	}
	
	public Exam getExam(){
		return this.myExam;
	}
	
	String getUserName(){
		return this.username;
	}
	
	String getPass(){
		return this.password;
	}
	
	Course getCurrentCourse(){
		return this.joinedCourse;
	}
}
